<?php ob_start();
include("config/config.php"); validate_user();
if(isset($_SESSION['business_url'])&&(!empty($_SESSION['business_url']))){ 
	$sql=mysql_query("INSERT INTO `my_business_url` SET `userid`='".$_SESSION['id']."' ,`cat_id`='".$_SESSION['cat_id']."',
															`url`='".mysql_real_escape_string($_SESSION['business_url'])."' ")or die(mysql_error());
	$id=mysql_insert_id();
	if($sql){
		unset($_SESSION['business_url']);
		unset($_SESSION['cat_id']);
		$_SESSION['url_id']=$id;
	}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php  if(isset($meta['page_title'])){echo substr($meta['page_title'],0,50); }else{?>Welcome to Mycitydial:- Get more Fans, Get more Leads<?php }?></title>
<meta name="description"  content="<?php if(isset($meta['description'])){echo substr(stripslashes($meta['description']),0,100); }else{?>Easy way to developer your fanpage and add more friends. get enjoy<?php }?>" />
<meta name="keyword"  content="Make fanpage, make a page on mycitydial, get more fans, get more leads" />
<link href="css/mycitydial.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen"  />
<script type="text/javascript" src="js/html5.js"></script> 
<script type="text/javascript" src="js/jquery.js"></script> 
<script type="text/javascript" src="js/jquery.form.js" ></script> 
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="js/city.js"></script> 
<script type="text/javascript" src="js/jquery.isotope.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/lib/jquery.ad-gallery.css"> 
<script type="text/javascript" src="js/lib/jquery.ad-gallery.js"></script> 
</head>
<body style="background:#ecf5f6">
    <div id="newinfo">
    <h1>Welcome</h1>
    <h2>Mr ”<?php $user=get_item('my_user','id',$_SESSION['id'],'fname'); if(!empty($user)){echo $user;}else{echo "User";}?>”</h2>
 <p>Don’t forget to provide us your detail as it will be published along with your advertisement in our mailers. Bogus articles, advertisement and information are not acceptable. If found so, your account will be terminated. </p>
 <span> http://www.mycitydial.com/<?php echo get_item('my_business_url','id',$_SESSION['url_id'],'url');?> </span>
 <div class="about"></div>
 <span class="config">Your Page hasbeen host please confirger it now</span>
 <div class="clearfix"> &nbsp;</div>
 <a href="create_page_step1.php"> Configure Page </a>
    </div>
</body>
</html>
